import '@/assets/styles/index.scss'

import { createApp } from 'vue'
import { createPinia } from 'pinia'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import 'element-plus/theme-chalk/dark/css-vars.css'
import App from '@/App.vue'
import router from '@/modules/common/router'

const app = createApp(App)
// 设置暗黑模式
document.documentElement.classList.toggle('dark')

app.use(createPinia())
app.use(ElementPlus)
app.use(router)

app.mount('#app')

